import { request } from '@/utils/request.js'

// 查询项目列表
export function getSonUserTaskList(query) {
  return request({
    url: 'client/sonUserProject/getList',
    method: 'get',
    params: query
  })
}
// 查询项目列表
export function getNum(query) {
  return request({
    url: 'client/sonUserProject/getNum',
    method: 'get',
    params: query
  })
}

// 查询任务详情
export function getGroupTask(query) {
  return request({
    url: 'client/groupTask/getGroupTask',
    method: 'get',
    params: query
  })
}
//批量操作任务id
export function groupTaskActions(query) {
  return request({
    url: 'client/groupTask/groupTaskActions',
    method: 'post',
    params: query
  })
}
//可上传任务账户数
export function getNumOfUseAbleStaff(query) {
  return request({
    url: 'client/groupTask/getNumOfUseAbleStaff',
    method: 'get',
    params: query
  })
}